package com.soccerlover9527.jadis.datasturct;

/**
 * <p>Measurable length interface</p>
 *
 * @author soccerlover9527@gmail.com
 * @since 2023-08-07
 */
public interface Lengths {
    /**
     * <p>return length on current situation.</p>
     * <p>ex: String 'hello' return 5. list[1,2,3] return 3</p>
     *
     * @return length
     */
    int length();
}
